<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org" xmlns:td="http://www.w3.org/1999/html">
<head>
    <meta charset="UTF-8">
    <title>work</title>
</head>
<body>
    <table>
        <tr>
            <td>empno</td>
            <td>ename</td>
            <td>job</td>
            <td>mgr</td>
        </tr>
        <tr th:each="emp,empStar:${empList.records}">
            <td th:text="${emp.empno}"></td>
            <td th:text="${emp.ename}"></td>
            <td th:text="${emp.job}"></td>
            <td th:text="${emp.mgr}"></td>
        </tr>
    </table>
</body>
</html>
